package com.caiyouxi.restrict.mapper;

import com.caiyouxi.restrict.model.RestrictedByUserProfile;
import org.apache.ibatis.annotations.Mapper;

/**
 * 根据用户属性的限制条件
 * chensong
 */
@Mapper
public interface RestrictedByUserProfileMapper {
    
    int delete_restricted_by_user_profile(int condition_id);
    
    int add_restricted_by_user_profile(RestrictedByUserProfile restrictedByUserProfile);
    
    int update_restricted_by_user_profile(RestrictedByUserProfile restrictedByUserProfile);

    RestrictedByUserProfile select_restricted_by_user_profile(int condition_id);
    
}
